Skip to content

List of natural areas by departmentId

GET
/api/v1/Department/{id}/touristicattractions

This endpoint returns a list of natural areas filtered by departmentid

Parameters

Path Parameters

id*
Typeinteger
Required
Example1
Format"int32"

Query Parameters

sortBy

It can be sorted by any of the fields that have numerical, string, or date values (for example: Id, name, description, etc.).

Typestring
sortDirection

Possible values: 'asc' or 'desc'.

Typestring

Responses

Success

application/json
JSON
[
{
"id": 0,
"name": "string",
"description": "string",
"images": [
"string"
],
"latitude": "string",
"longitude": "string",
"cityId": 0,
"city": "[Circular Reference]"
}
]

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

MIT License